package cn.yudao.org.domain;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

import java.lang.annotation.ElementType;

@Data
@NoArgsConstructor
@AllArgsConstructor
@Component
public class Department {

    private Long id;
    private String sn;
    private String name;
    private String dirPath;
    private Integer state;
    private Long manager_id;
    private Long parent_id;

    private Employee manager;

    private Department parent;


}
